/**
 * output package name
 */
package com.kingdee.eas.jyproject;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ProjectStateEnum extends StringEnum
{
    public static final String CLOSE_VALUE = "1";
    public static final String AUDIT_VALUE = "2";
    public static final String DISABLE_VALUE = "3";
    public static final String CANCEL_VALUE = "4";
    public static final String CALLOFF_VALUE = "5";
    public static final String SUBMIT_VALUE = "6";
    public static final String SAVES_VALUE = "7";
    public static final String ABORT_VALUE = "8";
    public static final String SUSPEND_VALUE = "9";

    public static final ProjectStateEnum close = new ProjectStateEnum("close", CLOSE_VALUE);
    public static final ProjectStateEnum audit = new ProjectStateEnum("audit", AUDIT_VALUE);
    public static final ProjectStateEnum disable = new ProjectStateEnum("disable", DISABLE_VALUE);
    public static final ProjectStateEnum cancel = new ProjectStateEnum("cancel", CANCEL_VALUE);
    public static final ProjectStateEnum calloff = new ProjectStateEnum("calloff", CALLOFF_VALUE);
    public static final ProjectStateEnum submit = new ProjectStateEnum("submit", SUBMIT_VALUE);
    public static final ProjectStateEnum saves = new ProjectStateEnum("saves", SAVES_VALUE);
    public static final ProjectStateEnum abort = new ProjectStateEnum("abort", ABORT_VALUE);
    public static final ProjectStateEnum suspend = new ProjectStateEnum("suspend", SUSPEND_VALUE);

    /**
     * construct function
     * @param String projectStateEnum
     */
    private ProjectStateEnum(String name, String projectStateEnum)
    {
        super(name, projectStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ProjectStateEnum getEnum(String projectStateEnum)
    {
        return (ProjectStateEnum)getEnum(ProjectStateEnum.class, projectStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ProjectStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ProjectStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ProjectStateEnum.class);
    }
}